package org.poc.camel;

import org.apache.camel.LoggingLevel;
import org.apache.camel.builder.RouteBuilder;

public class MyRouteBuilder extends RouteBuilder {

	@Override
	public void configure() throws Exception {

		from("jetty:http://localhost:8084/RpbDatasetQueue/submitMessage")
				.routeId("main")
				.log(LoggingLevel.INFO, "Submit form requested")
				.to("file:data/messages");

	}

}
